package com.gt.web.srv.web.api.command;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import lombok.experimental.SuperBuilder;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 村民;
 *
 * @author Yu Chaohua
 * @date 2024-5-17
 */
@ApiModel(value = "村民", description = "")
@Data
@SuperBuilder
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class PeopleReqCommand implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(notes = "页码")
    private long currentPage = 1;

    @ApiModelProperty(notes = "每页条数")
    private long pageSize = 10;

    @Schema(title = "村民ID")
    private Long peopleId;

    @Schema(title = "小程序ID")
    private String openId;

    @Schema(title = "小程序unionId")
    private String unionId;

    @Schema(title = "小程序昵称")
    private String openNick;

    @Schema(title = "微信头像")
    private String openAvatarUrl;

    @Schema(title = "是否户主")
    private Integer isHead;

    @Schema(title = "户主身份证号")
    private String headCard;

    @Schema(title = "姓名")
    private String peopleName;

    @Schema(title = "手机")
    private String peopleMobile;

    @Schema(title = "身份证")
    private String peopleCard;

    @Schema(title = "性别")
    private Integer peopleSex;

    @Schema(title = "出生年月")
    private String peopleBirth;

    @Schema(title = "社区")
    private Integer communityId;

    @Schema(title = "网格")
    private Integer gridId;

    @Schema(title = "是否党员 0:否,1:是")
    private Integer isParty;

    @Schema(title = "是否是网格员 0:否,1:是")
    private Integer isGrid;

    @Schema(title = "是否是村委 0:否,1:是")
    private Integer isCommittee;

    @Schema(title = "状态（0:待审核 1:已审核）")
    private Integer status;

    @Schema(title = "备注")
    private String remark;

    @Schema(title = "社区名称")
    private String communityName;
    private LocalDateTime modifyTime;
}
